<?php

namespace V1;

class Award extends \ResourceClass
{
    public $isActive = true;
    public $remark = '返回中奖结果';

    public function get(array $req, array $post, &$result){

        if (!isset($req["uid"])) {
            return "uid not null";
        }
        $checkRes = $this->autoCheck($req['uid']);
        if($checkRes['code'] !== 200){
            return $checkRes['message'];
        }
        $coupon = new \Biz\Coupon();
        $result = $coupon->returnAwardRes_($req["uid"]);
    }
}